#include "bo3d.h"

BBDECL boVec3* __stdcall o_aab_getSize(Ogre::AxisAlignedBox* box)
{
	Ogre::Vector3 vec;
	boVec3* v = new boVec3;

	try
	{
		vec = box->getSize();
		v->x = vec.x;
		v->y = vec.y;
		v->z = vec.z;

		std::cout << v->x << v->y << v->z << std::endl;
	}
	catch(Ogre::Exception &e)
	{
		std::cout << e.getDescription() << std::endl;
	}

	return v;
}